package com.magic.zhixin.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;

@Entity
@Data
public class Copywriting extends BaseEntity {
    private String title;
    private String imageUrl;
    @Column(columnDefinition = "tinyint(1) default 0")
    private Integer type;//0 普通  1 红包
    @Column(columnDefinition = "tinyint(1) default 0")
    private Integer status = 0;//0 激活 1禁用
}
